Optimal. Leaf size=76 \[ -\frac {\sqrt {c+d x}}{(b c-a d) (a+b x)}+\frac {d \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{\sqrt {b} (b c-a d)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {44, 65, 214}
\begin {gather*} \frac {d \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{\sqrt {b} (b c-a d)^{3/2}}-\frac {\sqrt {c+d x}}{(a+b x) (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x)^2 \sqrt {c+d x}} \, dx &=-\frac {\sqrt {c+d x}}{(b c-a d) (a+b x)}-\frac {d \int \frac {1}{(a+b x) \sqrt {c+d x}} \, dx}{2 (b c-a d)}\\ &=-\frac {\sqrt {c+d x}}{(b c-a d) (a+b x)}-\frac {\text {Subst}\left (\int \frac {1}{a-\frac {b c}{d}+\frac {b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{b c-a d}\\ &=-\frac {\sqrt {c+d x}}{(b c-a d) (a+b x)}+\frac {d \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{\sqrt {b} (b c-a d)^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.19, size = 75, normalized size = 0.99 \begin {gather*} \frac {\sqrt {c+d x}}{(-b c+a d) (a+b x)}+\frac {d \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {-b c+a d}}\right )}{\sqrt {b} (-b c+a d)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 87, normalized size = 1.14
method | result | size |
derivativedivides | \(2 d \left (\frac {\sqrt {d x +c}}{2 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )}+\frac {\arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{2 \left (a d -b c \right ) \sqrt {\left (a d -b c \right ) b}}\right )\) | \(87\) |
default | \(2 d \left (\frac {\sqrt {d x +c}}{2 \left (a d -b c \right ) \left (\left (d x +c \right ) b +a d -b c \right )}+\frac {\arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{2 \left (a d -b c \right ) \sqrt {\left (a d -b c \right ) b}}\right )\) | \(87\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 133 vs.
\(2 (64) = 128\).
time = 0.98, size = 280, normalized size = 3.68 \begin {gather*} \left [-\frac {\sqrt {b^{2} c - a b d} {\left (b d x + a d\right )} \log \left (\frac {b d x + 2 \, b c - a d - 2 \, \sqrt {b^{2} c - a b d} \sqrt {d x + c}}{b x + a}\right ) + 2 \, {\left (b^{2} c - a b d\right )} \sqrt {d x + c}}{2 \, {\left (a b^{3} c^{2} - 2 \, a^{2} b^{2} c d + a^{3} b d^{2} + {\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2}\right )} x\right )}}, -\frac {\sqrt {-b^{2} c + a b d} {\left (b d x + a d\right )} \arctan \left (\frac {\sqrt {-b^{2} c + a b d} \sqrt {d x + c}}{b d x + b c}\right ) + {\left (b^{2} c - a b d\right )} \sqrt {d x + c}}{a b^{3} c^{2} - 2 \, a^{2} b^{2} c d + a^{3} b d^{2} + {\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2}\right )} x}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a + b x\right )^{2} \sqrt {c + d x}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.46, size = 87, normalized size = 1.14 \begin {gather*} -\frac {d \arctan \left (\frac {\sqrt {d x + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{\sqrt {-b^{2} c + a b d} {\left (b c - a d\right )}} - \frac {\sqrt {d x + c} d}{{\left ({\left (d x + c\right )} b - b c + a d\right )} {\left (b c - a d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 74, normalized size = 0.97 \begin {gather*} \frac {d\,\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {c+d\,x}}{\sqrt {a\,d-b\,c}}\right )}{\sqrt {b}\,{\left (a\,d-b\,c\right )}^{3/2}}+\frac {d\,\sqrt {c+d\,x}}{\left (a\,d-b\,c\right )\,\left (a\,d-b\,c+b\,\left (c+d\,x\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________